﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FriendStar.Application.SystemManage;
using FriendStar.Code;
using FriendStar.Domain.Entity.BaseData;

using FriendStar.Application.WareHouse;
using FriendStar.Domain.Entity.WareHouse;
 

namespace FriendStar.Web.Areas.WareHouse.Controllers
{
    public class TestController : ControllerBase
    {
        private CPK_11_DJ_StoRegisterApp cpkApp = new CPK_11_DJ_StoRegisterApp();

        private ModuleApp moduleApp = new ModuleApp();
        private ModuleButtonApp moduleButtonApp = new ModuleButtonApp();

        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(string keyword)
        {
            var data = cpkApp.GetList();
            return Content(data.ToJson());
        }
    }
}
